x86/entry: Rearrange RESTORE_ALL to restore register in stack order
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 16 Aug 2017 17:07:30 +0000 (18:07 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 5 Jan 2018 19:57:08 +0000 (19:57 +0000)
commitf85d105e27735f0e20aa30d77f03774f3ed55ae5
tree6efaaba219e5b09c65b46714395ca12d210061b3
parentf9eb74789af77e985ae653193f3622263499f674
x86/entry: Rearrange RESTORE_ALL to restore register in stack order

Results in a more predictable (i.e. linear) memory access pattern.

No functional change.

This is part of XSA-254.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/include/asm-x86/asm_defns.h